from django.conf.urls.defaults import patterns, url

urlpatterns = patterns('',
    url(r'^$', 'posecco_django.posecco.views.home',									  name='home'),
    url(r'^rfclist/$', 'posecco_django.posecco.views.rfclist',                           name='rfclist'),
    url(r'^rfc/(?P<rfc_id>\d+)/$', 'posecco_django.posecco.views.rfc',                   name='rfc'),
    url(r'^workorderlist/$', 'posecco_django.posecco.views.workorderlist',			   name='workorderlist'),
    url(r'^workorder/(?P<rfc_id>\d+)/(?P<workorder_id>\d+)/$', 'posecco_django.posecco.views.workorder', name='workorder'),
	url(r'^userlist/$', 'posecco_django.posecco.views.userlist',			   name='userlist'),
	url(r'^user/(?P<user_id>\d+)/$', 'posecco_django.posecco.views.user', name='user'),
	url(r'^infrasturcturelist/$', 'posecco_django.posecco.views.infrastructurelist',			   name='infrastructurelist'),
	url(r'^infrastructure/(?P<infrastructure_id>\d+)/$', 'posecco_django.posecco.views.infrastructure', name='infrastructure'),
	url(r'^servicelist/$', 'posecco_django.posecco.views.servicelist',			   name='servicelist'),
	url(r'^service/(?P<service_id>\d+)/$', 'posecco_django.posecco.views.service', name='service'),
	url(r'^export/$', 'posecco_django.posecco.views.export', name='export'),
	url(r'^import/', 'posecco_django.posecco.views.import_rfc', name='import'),
	url(r'^upload/', 'posecco_django.posecco.views.upload', name='upload'),
)
